import { createApp } from 'vue'
import App from './App.vue'
import VueNativeSock from 'vue-native-websocket-vue3'

const app = createApp(App)

// WebSocket 配置
app.use(VueNativeSock, 'ws://ip:13000', {
  reconnection: true,
  reconnectionAttempts: 5,
  reconnectionDelay: 3000,
})

app.mount('#app')